import router from './router'
import './assets/css/global.css'
import { createApp } from 'vue'
import { ElButton, ElForm, ElInput, ElFormItem, ElMessage } from 'element-plus'
import 'element-plus/lib/theme-chalk/index.css'
import App from './App.vue'
import axios from 'axios'

const app = createApp(App)
axios.defaults.baseURL = 'http://127.0.0.1:8888/api/private/v1/'

app.use(ElButton)
app.use(ElForm)
app.use(ElFormItem)
app.use(ElInput)
app.use(ElMessage)

app.config.globalProperties.$http = axios
app.use(router).mount('#app')
